package org.example.ecommerce_system.entity;

public class Order {
    private int id;
    private String userName;
    private String proName;
    private int number;
    private double sumPrice;

    public Order() {
    }

    public Order(int id, String userName, String proName, int number, double sumPrice) {
        this.id = id;
        this.userName = userName;
        this.proName = proName;
        this.number = number;
        this.sumPrice = sumPrice;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }
}
